package com.zufe.khw;

public class GirlFriend {
    private String name;
    private double height;
    private double weight;

    public GirlFriend() {
    }

    public GirlFriend(String name, int weight, int height) {
        this.name = name;
        this.weight = weight;
        this.height = height;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public void wash() {
        System.out.println("女朋友给我洗衣服");
    }

    public void cook() {
        System.out.println("女朋友给我做饭");
    }

    public void show() {
        System.out.println("女朋友的名字是" + this.name + "，身高是" + this.height + "cm，体重是" + this.weight + "kg");
    }
}
